package com.xiaoze.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Header注解实现类
 *
 * @author xiaoze
 * @date 2020/5/23
 */
@Configuration
public class TransmitHeaderAutoConfiguration {

    @Bean
    public FeignRequestInterceptor feignRequestInterceptor(){
        return new FeignRequestInterceptor();
    }

    @Bean
    public TransmitHeaderFilter transmitHeaderFilter(){
        return new TransmitHeaderFilter();
    }

}
